const mongoose = require("mongoose")
const Schema = mongoose.Schema
//user模型==>users集合

//给集合进行限制
const WebUserType = {
    username:String,
    password:String,
    propname:String,
    building:String,
    roomnumber:String, 

}
const WebUserModel = mongoose.model("webuser",new Schema(WebUserType))

module.exports = WebUserModel